package com.turing.post.salesmanage.util;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "SALES")
public class Sales implements java.io.Serializable {
    /**
     * 销售员id
     */
	private BigInteger salesId;
	/**
	 * 销售机构no
	 */
	private String saleBranchNo;
	/**
	 * 销售员姓名
	 */
	private String salesName;
	/**
	 * 联系地址
	 */
	private String linkAddr;
	/**
	 * 联系电话
	 */
	private String LinkTel;
	/**
	 * 备注
	 */
	private String remark;

	public Sales() {
	}

	@Id
	@Column(name = "SALESID", unique = true, nullable = false)
	public BigInteger getSalesId() {
		return salesId;
	}

	public void setSalesId(BigInteger salesId) {
		this.salesId = salesId;
	}

	@Column(name = "SALEBRANCHNO")
	public String getSaleBranchNo() {
		return saleBranchNo;
	}

	public void setSaleBranchNo(String saleBranchNo) {
		this.saleBranchNo = saleBranchNo;
	}

	@Column(name = "SALESNAME")
	public String getSalesName() {
		return salesName;
	}

	public void setSalesName(String salesName) {
		this.salesName = salesName;
	}

	@Column(name = "LINKADDR")
	public String getLinkAddr() {
		return linkAddr;
	}

	public void setLinkAddr(String linkAddr) {
		this.linkAddr = linkAddr;
	}

	@Column(name = "LINKTEL")
	public String getLinkTel() {
		return LinkTel;
	}

	public void setLinkTel(String linkTel) {
		LinkTel = linkTel;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}